package com.rico.deploy.entity;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "subject")
public class Subject {

  @Column(name = "id")
  @Id
  private Integer id;

  @Column(name = "subject_code")
  private String subjectCode;

  @Column(name = "subject_name")
  private String subjectName;

  @Column(name = "college_name")
  private String collegeName;

  @Column(name = "major_name")
  private String majorName;

  @Column(name = "subject_type_id")
  private Integer subjectTypeId;

  @Column(name = "subject_type")
  private String subjectType;

  @Column(name = "classroom_type_id")
  private Integer classroomTypeId;

  @Column(name = "classroom_type")
  private String classroomType;

  @Column(name = "modify_time")
  private Date modifyTime;

  @Column(name = "release_time")
  private Date releaseTime;

  @Column(name = "status")
  private String status;


}
